package pers.karl.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import pers.karl.module.entity.TestEntity;

import java.util.HashMap;
import java.util.Map;

/**
 * @author karl
 * @description: ${description}
 * @create 2019-01-20 16:38
 */
@Controller
@RequestMapping
public class HomeController {

    @ResponseBody
    @RequestMapping("/")
    public String log() {
        return "hello world";
    }

}
